package com.dreamchaser.dream.common.pojo;

/**
 * 存储社交关系，user1关注了user2(user_relation)
 * 
 * @author bianj
 * @version 1.0.0 2020-10-29
 */
public class UserRelation {
    /** 版本号 */
    private static final long serialVersionUID = -3451231068000331586L;


    /** 关系id */
    private Integer id;

    /** 关系发起者id */
    private Integer user1Id;

    /** 关系接受者id */
    private Integer user2Id;

    /**
     * 获取关系id
     * 
     * @return 关系id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置关系id
     * 
     * @param id
     *          关系id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取关系发起者id
     * 
     * @return 关系发起者id
     */
    public Integer getUser1Id() {
        return this.user1Id;
    }

    /**
     * 设置关系发起者id
     * 
     * @param user1Id
     *          关系发起者id
     */
    public void setUser1Id(Integer user1Id) {
        this.user1Id = user1Id;
    }

    /**
     * 获取关系接受者id
     * 
     * @return 关系接受者id
     */
    public Integer getUser2Id() {
        return this.user2Id;
    }

    /**
     * 设置关系接受者id
     * 
     * @param user2Id
     *          关系接受者id
     */
    public void setUser2Id(Integer user2Id) {
        this.user2Id = user2Id;
    }
}